<title>Profile</title>
<div class="adminleft">
    <div class="profile">
        <p>Profile</p>
        <?php foreach ($show as $gh) : ?>
            <label class="lbl">Dimulai</label> <input class="pr required" type="text" value="<?php echo $gh['open']; ?>" readonly="readonly" title="Dibuka"/><br/>
            <label class="lbl">Ditutup</label> <input class="pr required" type="text" value="<?php echo $gh['close']; ?>" readonly="readonly" title="Ditutup"/><br/>
        <?php endforeach; ?><br />
        <?php
            $ps = array(
                'class' => 'pass',
                'name' => 'password'
            );
            echo form_open('admin/settime', $ps); ?>
            <?php foreach ($show as $gh) : ?>
        <label class="lbl">Set Dimulai</label> <input class="pr required" type="text" name="setopen" value="<?php echo $gh['open']; ?>" title="Set polling dibuka"/><br/>
        <label class="lbl">Set Ditutup</label> <input class="pr required" type="text" name="setclose" value="<?php echo $gh['close']; ?>" title="Set polling ditutup"/><br/>
        <?php endforeach; ?>
        <?php
            $s = array(
                'name' => 'submit',
                'value' => 'Save',
                'class' => 'chgpass',
                'title' => 'Save settingan waktu'
            );
            echo form_submit($s);
        ?>
        <?php echo form_close(); ?>
    </div>
</div>